package top.z.work.module.system.controller.dept.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@Schema(description = "系统管理 - 部门数据 VO")
public class SystemDeptVO {

    @Schema(title = "部门ID", description = "部门ID", example = "1234")
    private Long identity;

    @Schema(description = "上级ID", example = "0")
    private Long parent;

    @Schema(description = "部门名称", example = "研发部")
    private String name;

    @Schema(description = "显示顺序", example = "1")
    private Integer sort;

}
